#!/bin/zsh

ENTRYPOINT_DIR=/etc/entrypoint.d

echo "Run $0 $@"
for file in `ls ${ENTRYPOINT_DIR}`;
do
	# echo "Run ${file} in ${ENTRYPOINT_DIR}"
	${ENTRYPOINT_DIR}/${file} start
done
# echo "Run /usr/bin/tail -f /dev/null"
/usr/bin/tail -f /dev/null
